﻿using System;

namespace BibtexParser.ParserModels
{
    public class Person
    {
        private readonly string _firstName;
        private readonly string _surName;
        
        /// <summary>
        /// Creates the person
        /// </summary>
        /// <param name="firstName">the first name of the person</param>
        /// <param name="surName">surname (and any non-firstname names)</param>
        public Person(String firstName, String surName)
        {
            this._firstName = firstName;
            this._surName = surName;
        }

        /// <summary>
        /// Returns firstname
        /// </summary>
        /// <returns>the firstname</returns>
        public String GetFirstName()
        {
            return this._firstName;
        }

        /// <summary>
        /// Returns the surname
        /// </summary>
        /// <returns>the surname</returns>
        public String GetSurName()
        {
            return this._surName;
        }
    }
}